<ng-container *ngIf="!isembeddedView">
<ion-header class="app-view-header">
    <ion-toolbar class="app-view-toolbar" color="primary">
        <ion-buttons  slot="start"  class="app-toolbar-left-buttons">
            <ion-button  (click)="editBackView()">
                <ion-icon name="arrow-back"></ion-icon>
                返回
            </ion-button>

        </ion-buttons>
        <ion-title class="app-view-title">电费</ion-title>
        <ion-buttons  slot="end"  class="app-toolbar-right-buttons">
        <div class="app-mob-toolbar ">
        <div >
                <ion-button class="app-view-toolbar-button" (click)="righttoolbar_click({ tag: 'tbitem1' }, $event)">
                 <ion-icon name="sx-tb-saveandclose" src="../sasrfex/images/default/icon_saveandclose.png"></ion-icon>
                  保存
            </ion-button>
        
        </div>
        </div>
        </ion-buttons>
    </ion-toolbar>
</ion-header>
<ion-content  class="app-view app-view-mobeditview  dfmob-edit-view">
<div class="app-view-body">
<ctrl-mob-form-form   [isembeddedView]="isembeddedView"  [isModalMode]="isModalMode"  [viewState]="viewState"  [updateAction]="'update'"  [removeAction]="'remove'"  [loaddraftAction]="'getdraft'"  [loadAction]="'get'"  [createAction]="'create'" [name]="'form'" (saveemit)="form_save($event)" (removeemit)="form_remove($event)" (loademit)="form_load($event)" ></ctrl-mob-form-form>
</div>
</ion-content>
</ng-container>
<ng-container *ngIf="isembeddedView">
        <div  class="app-view app-embedded-mobeditview  dfmob-edit-view">
                <ng-container *ngIf="!isTabexp">
                <div class="app-view-embedded">
                <div>电费</div>
                <div  class="app-view-embedded-icon"><ion-icon name="more" (click)="click_more()"></ion-icon></div>
                </div>
                </ng-container>
                <div class="app-view-body">
                <ctrl-mob-form-form   [isembeddedView]="isembeddedView"  [isModalMode]="isModalMode"  [viewState]="viewState"  [updateAction]="'update'"  [removeAction]="'remove'"  [loaddraftAction]="'getdraft'"  [loadAction]="'get'"  [createAction]="'create'" [name]="'form'" (saveemit)="form_save($event)" (removeemit)="form_remove($event)" (loademit)="form_load($event)" ></ctrl-mob-form-form>
                </div>
        </div>
</ng-container>

